package com.liuyonggang.generator.dao;

import java.util.List;

import com.liuyonggang.generator.model.ProjectInfo;
import com.liuyonggang.generator.util.PageInfo;

public interface ProjectInfoMapper {

	int countModel();

	List<ProjectInfo> findAll(ProjectInfo projectInfo);

	List<ProjectInfo> findAllByPage(PageInfo<ProjectInfo> pageInfo);

	int countByPage(PageInfo<ProjectInfo> pageInfo);

    ProjectInfo findById(Integer id);

    void addProjectInfo(ProjectInfo projectInfo);

    void updateProjectInfo(ProjectInfo projectInfo);

    void deleteProjectInfo(ProjectInfo projectInfo);
}
